From: jdlrobson Date: Fri, 19 Feb 2016 00:28:36 +0000 (-0800) Subject: EditPage: Style anonymous editor warning as a warningbox for consistency X-Git-Tag: 1.31.0-rc.0~7902 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=d9a3ae564cc835e3e23bab49d9515ee1e69bcaee;p=lhc%2Fweb%2Fwiklou.git EditPage: Style anonymous editor warning as a warningbox for consistency Most projects override this anyway, but for default installs, let's be consistent with other warning messages so it's clearer what is going on. Bug: T127403 Change-Id: I22c51a46a249247abccda709d74356e8e31a19a8 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 82fcdcfb83..b5d0a7b017 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2827,7 +2827,7 @@ class EditPage { } elseif ( $wgUser->isAnon() ) { if ( $this->formtype != 'preview' ) { $wgOut->wrapWikiMsg( - "
\n$1\n
", + "
\n$1\n
", [ 'anoneditwarning', // Log-in link '{{fullurl:Special:UserLogin|returnto={{FULLPAGENAMEE}}}}',